/*--------[2018-06-13 17:48:23.498]---------*/
#ifndef __OTP_ENUM_H__
#define __OTP_ENUM_H__

typedef enum
{
    HI_OTP_AKL_SLOT_0,
    HI_OTP_AKL_SLOT_1,
    HI_OTP_AKL_SLOT_2,
    HI_OTP_AKL_SLOT_3,
    HI_OTP_ASC_DEC_EN,
    HI_OTP_ASC_MSID,
    HI_OTP_ASC_VERIFY_EN,
    HI_OTP_ASC_VERSION_REF,
    HI_OTP_AUXCODEDECEN,
    HI_OTP_AUXCODEVERIFYEN,
    HI_OTP_AUXCODEVERSIONID,
    HI_OTP_AUXPROTECTIONKEY,
    HI_OTP_AUX_RSV_1,
    HI_OTP_AUX_SIG_MODE,
    HI_OTP_BLOAD_DEC_EN,
    HI_OTP_BLOAD_KEY_DEC_EN,
    HI_OTP_BOOTROM_DBG_DISABLE,
    HI_OTP_BOOTSEL_CTRL,
    HI_OTP_BOOT_INFO_DISABLE,
    HI_OTP_BOOT_INFO_LV,
    HI_OTP_BOOT_KL_DISABLE,
    HI_OTP_BOOT_KL_ENC_DISABLE,
    HI_OTP_BOOT_MODE_SEL,
    HI_OTP_BOOT_RK_DEOB_ENABLE,
    HI_OTP_BOOT_ROOTKEY,
    HI_OTP_BOOT_UART_DISABLE,
    HI_OTP_BOOT_VERSION_ID_A,
    HI_OTP_BOOT_VERSION_ID_SEL,
    HI_OTP_C1_AKL_DISABLE,
    HI_OTP_C1_KL_DISABLE,
    HI_OTP_C2_CHIPID,
    HI_OTP_C2_CW_LV_SEL,
    HI_OTP_C2_KL_DISABLE,
    HI_OTP_C2_R2R_LV_SEL,
    HI_OTP_C2_RUNCHECK_LV_0,
    HI_OTP_C2_RUNCHECK_LV_1,
    HI_OTP_C3_CARDLESS_EN,
    HI_OTP_C3_CHIPID,
    HI_OTP_C3_CSA2_LV_SEL,
    HI_OTP_C3_CSA2_ROOTKEY,
    HI_OTP_C3_CSA3_LV_SEL,
    HI_OTP_C3_CSA3_ROOTKEY,
    HI_OTP_C3_DEOB_ENABLE,
    HI_OTP_C3_DRM_KL_CSA2_DISABLE,
    HI_OTP_C3_DRM_LV_SEL,
    HI_OTP_C3_DRM_ROOTKEY,
    HI_OTP_C3_JTAG_KEY,
    HI_OTP_C3_KL_DISABLE,
    HI_OTP_C3_LP_ROOTKEY,
    HI_OTP_C3_R2R_LV_SEL,
    HI_OTP_C3_R2R_ROOTKEY,
    HI_OTP_C3_SP_LV_SEL,
    HI_OTP_C3_SP_ROOTKEY,
    HI_OTP_C3_TEE_ENABLE,
    HI_OTP_C4_CHIPID,
    HI_OTP_CARDLESS_INDICATOR,
    HI_OTP_CAS_LOADER_VERSION_REF,
    HI_OTP_CA_CHIPSET_CONFIG,
    HI_OTP_CA_DATA_0,
    HI_OTP_CA_DATA_1,
    HI_OTP_CA_DATA_2,
    HI_OTP_CA_TA_KL_DISABLE,
    HI_OTP_CA_TA_ROOTKEY,
    HI_OTP_CA_VENDOR_ID,
    HI_OTP_CA_VENDOR_ID_BAK,
    HI_OTP_CCN_BYTE,
    HI_OTP_CFG_PERSO_DONE,
    HI_OTP_CHECKNUMBER,
    HI_OTP_CHECK_BROM_EN,
    HI_OTP_CHECK_BROM_EN_BAK,
    HI_OTP_CHECK_BROM_WKUP_EN,
    HI_OTP_CHECK_BROM_WKUP_EN_BAK,
    HI_OTP_CHIPSETCONFIG,
    HI_OTP_CHIP_JTAG_PRT_MODE,
    HI_OTP_CHIP_PROTECT_KEY_SEL,
    HI_OTP_CHIP_PROTECT_KEY_SEL_INV,
    HI_OTP_CM0_CHIPID,
    HI_OTP_CM0_CHIPID_EXT,
    HI_OTP_CM0_CSA2_KL_DISABLE,
    HI_OTP_CM0_CSA2_LV_SEL,
    HI_OTP_CM0_CSA2_ROOTKEY,
    HI_OTP_CM0_CSA3_KL_DISABLE,
    HI_OTP_CM0_CSA3_LV_SEL,
    HI_OTP_CM0_CSA3_ROOTKEY,
    HI_OTP_CM0_DEOB_ENABLE,
    HI_OTP_CM0_JTAG_KEY,
    HI_OTP_CM0_KL_DISABLE,
    HI_OTP_CM0_MISC_CTRL,
    HI_OTP_CM0_MISC_KL_CSA2_DISABLE,
    HI_OTP_CM0_MISC_LV_SEL,
    HI_OTP_CM0_MISC_ROOTKEY,
    HI_OTP_CM0_R2R_KL_DISABLE,
    HI_OTP_CM0_R2R_LV_SEL,
    HI_OTP_CM0_R2R_ROOTKEY,
    HI_OTP_CM0_SP_CTRL,
    HI_OTP_CM0_SP_LV_SEL,
    HI_OTP_CM0_SP_ROOTKEY,
    HI_OTP_CM1_CHIPID,
    HI_OTP_CM1_CHIPID_EXT,
    HI_OTP_CM1_CSA2_DISABLE,
    HI_OTP_CM1_CSA2_LV_SEL,
    HI_OTP_CM1_CSA2_ROOTKEY,
    HI_OTP_CM1_CSA3_DISABLE,
    HI_OTP_CM1_CSA3_LV_SEL,
    HI_OTP_CM1_CSA3_ROOTKEY,
    HI_OTP_CM1_DEOB_ENABLE,
    HI_OTP_CM1_JTAG_KEY,
    HI_OTP_CM1_KL_DISABLE,
    HI_OTP_CM1_MISC_CTRL,
    HI_OTP_CM1_MISC_ROOTKEY,
    HI_OTP_CM1_MISC_XOR_EN,
    HI_OTP_CM1_R2R_DISABLE,
    HI_OTP_CM1_R2R_LV_SEL,
    HI_OTP_CM1_R2R_ROOTKEY,
    HI_OTP_CM1_SP_CTRL,
    HI_OTP_CM1_SP_ROOTKEY,
    HI_OTP_CM1_SP_XOR_EN,
    HI_OTP_CN_BYTE,
    HI_OTP_CRC_RSAROOTPUBLICKEY,
    HI_OTP_CSA2_64_ONLY_EN,
    HI_OTP_CSGK1,
    HI_OTP_CSGK2,
    HI_OTP_CSUK1,
    HI_OTP_CSUK2,
    HI_OTP_CUSTOMER_KEY,
    HI_OTP_CW_CRC_RD_DISABLE,
    HI_OTP_DCASCHIPID,
    HI_OTP_DCAS_KL_DISABLE,
    HI_OTP_DCAS_RK_EXT_KEY,
    HI_OTP_DDR_SCRAMBLE_EN,
    HI_OTP_DDR_WAKEUP_DISABLE,
    HI_OTP_DEMUX_SYNC_0,
    HI_OTP_DEMUX_SYNC_1,
    HI_OTP_DEMUX_SYNC_2,
    HI_OTP_DFT_PORT_MODE,
    HI_OTP_DIEID0,
    HI_OTP_DIEID1,
    HI_OTP_DIE_ID,
    HI_OTP_DIE_MODEL,
    HI_OTP_DMX_RAND_DELAY_EN,
    HI_OTP_DOK1,
    HI_OTP_DOLBY_AUDIO_FLAG,
    HI_OTP_DOLBY_FLAG,
    HI_OTP_DPA_KL_DELAY_CNT,
    HI_OTP_DTS_AUDIO_FLAG,
    HI_OTP_DTS_FLAG,
    HI_OTP_EMMC_BOOT_DISABLE,
    HI_OTP_EMMC_BOOT_FREQ,
    HI_OTP_ESCK,
    HI_OTP_EXT_LOCKABLE_FUSE,
    HI_OTP_EXT_ONEWAY_FUSE_0,
    HI_OTP_EXT_ONEWAY_FUSE_1,
    HI_OTP_FSD_DISABLE,
    HI_OTP_HARD_ACPU_CORE,
    HI_OTP_HARD_FEMAC_DISABLE,
    HI_OTP_HARD_FLASH_BOOT,
    HI_OTP_HARD_FSENSOR_ENABLE,
    HI_OTP_HARD_GEMAC0_DISABLE,
    HI_OTP_HARD_GEMAC1_DISABLE,
    HI_OTP_HARD_GPU_CORE,
    HI_OTP_HARD_MV_ENABLE,
    HI_OTP_HARD_NXG_DISABLE,
    HI_OTP_HARD_PCIE0_DISABLE,
    HI_OTP_HARD_QAM_DISABLE,
    HI_OTP_HARD_SATA0_DISABLE,
    HI_OTP_HARD_SATA1_DISABLE,
    HI_OTP_HARD_SC300_24M_SEL,
    HI_OTP_HARD_SDIO0_DISABLE,
    HI_OTP_HARD_SDIO1_DISABLE,
    HI_OTP_HARD_SIC_ASHIELD_DISABLE,
    HI_OTP_HARD_SIC_DSENSOR_DISABLE,
    HI_OTP_HARD_SIC_TRNG_DISABLE,
    HI_OTP_HARD_SIC_TRNG_EN,
    HI_OTP_HARD_SIC_TRSA_DISABLE,
    HI_OTP_HARD_SPI_NAND_WRAP_DISABLE,
    HI_OTP_HARD_SUART_DISABLE,
    HI_OTP_HARD_TSI0_DISABLE,
    HI_OTP_HARD_TSI1_DISABLE,
    HI_OTP_HARD_TSI2_DISABLE,
    HI_OTP_HARD_TSI3_DISABLE,
    HI_OTP_HARD_TSI4_DISABLE,
    HI_OTP_HARD_TSI5_DISABLE,
    HI_OTP_HARD_TSI6_DISABLE,
    HI_OTP_HARD_TSIO_DISABLE,
    HI_OTP_HARD_TSIO_SPEED_LIMIT,
    HI_OTP_HARD_UART_DISABLE,
    HI_OTP_HARD_UART_MCU_DISABLE,
    HI_OTP_HARD_USB2_DISABLE,
    HI_OTP_HARD_USB30_DISABLE,
    HI_OTP_HARD_USB31_DISABLE,
    HI_OTP_HARD_VDAC_0_DISABLE,
    HI_OTP_HARD_VDAC_1_DISABLE,
    HI_OTP_HARD_VDAC_2_DISABLE,
    HI_OTP_HARD_VDAC_3_DISABLE,
    HI_OTP_HARD_VDEC_4K_DISABLE,
    HI_OTP_HARD_VDEC_DIVX_DISABLE,
    HI_OTP_HARD_VDEC_REAL_DISABLE,
    HI_OTP_HARD_VDP_DOLBY_HDR_LIMIT,
    HI_OTP_HARD_VDP_HDR10_LIMIT,
    HI_OTP_HARD_VDP_TECHNI_HDR_LIMIT,
    HI_OTP_HARD_VENC_LIMIT,
    HI_OTP_HDCP_RK_OBFS_EN,
    HI_OTP_HDCP_ROOTKEY,
    HI_OTP_HISI_ROOTKEY,
    HI_OTP_HISI_TA_KL_DISABLE,
    HI_OTP_HSL_SIGN_MODE,
    HI_OTP_HSL_VERIFY_EN,
    HI_OTP_HSL_VERSION_ID,
    HI_OTP_IMAGE_ENC_ENFORCEMENT,
    HI_OTP_ITCSA3_IMLB,
    HI_OTP_KL_CAL_CTRL,
    HI_OTP_KL_CAL_CTRL_EN,
    HI_OTP_KL_CAL_MAX_M,
    HI_OTP_KL_CAL_MAX_S,
    HI_OTP_KL_PROTECTION_EN,
    HI_OTP_LDATA_0,
    HI_OTP_LDATA_1,
    HI_OTP_LDATA_7,
    HI_OTP_LINK_PRT_DISABLE,
    HI_OTP_LPC_MASTER_DISABLE,
    HI_OTP_MASTERROOTKEYID_0,
    HI_OTP_MASTERROOTKEYSTORAGE_0,
    HI_OTP_MC_RAND_DELAY_EN,
    HI_OTP_MC_RSV_EN,
    HI_OTP_MSID,
    HI_OTP_MULTI_REG_DISABLE,
    HI_OTP_NDEOB_EN_0,
    HI_OTP_NDEOB_EN_1,
    HI_OTP_NOCS30_HKL_DEACTIVATION_FLAG,
    HI_OTP_OBFU_EXT_KEY,
    HI_OTP_OEM_ROOTKEY,
    HI_OTP_OMS_RKD_DISABLE,
    HI_OTP_OTP_GLOBAL_LOCK_EN,
    HI_OTP_OTP_TZ_AREA_ENABLE,
    HI_OTP_PACKAGE_ID,
    HI_OTP_PANDA_CPU_CLEARCWMODE_DISABLE,
    HI_OTP_PANDA_FM_DEC_KEY,
    HI_OTP_PANDA_JTAG_MODE,
    HI_OTP_PERSO_DONE,
    HI_OTP_PL_RAND_DELAY_EN,
    HI_OTP_PRIVILEGEDMODEACTIVATION,
    HI_OTP_PRM_ERR,
    HI_OTP_PWROK_EN,
    HI_OTP_R2R_SM4_DISABLE,
    HI_OTP_RESERVED_LONG_0,
    HI_OTP_RESERVED_LONG_1,
    HI_OTP_RESERVED_LONG_2,
    HI_OTP_RESERVED_LONG_7,
    HI_OTP_RK_CRC_RD_DISABLE,
    HI_OTP_RK_PRM_EN,
    HI_OTP_RO_SEL_EN,
    HI_OTP_RSAROOTPUBLICKEYEXPONENT,
    HI_OTP_RSAROOTPUBLICKEYMODULUS,
    HI_OTP_RSA_KEY_RD_DISABLE,
    HI_OTP_RSV_KEY_4,
    HI_OTP_RSV_KEY_6,
    HI_OTP_RSV_KEY_7,
    HI_OTP_RUNTIME_CHECK_EN,
    HI_OTP_SCPU_HARD_RST_EN,
    HI_OTP_SCPU_HKL_DISABLE,
    HI_OTP_SCPU_MAILBOX_DISABLE,
    HI_OTP_SCPU_SPACE_EN,
    HI_OTP_SCPU_SUPPORT,
    HI_OTP_SCS_ACTIVATION,
    HI_OTP_SCS_SIMULATE_DISABLE,
    HI_OTP_SECRET_SCAN_DISABLE,
    HI_OTP_SECRET_STATUS_DISABLE,
    HI_OTP_SEC_STORE_KL_DISABLE,
    HI_OTP_SEC_STORE_ROOTKEY,
    HI_OTP_SEC_WORD,
    HI_OTP_SELF_BOOT_DISABLE,
    HI_OTP_SH_REFRESH_DISABLE,
    HI_OTP_SM1_DISABLE,
    HI_OTP_SM2_DISABLE,
    HI_OTP_SM3_DISABLE,
    HI_OTP_SMCU_INFO_DISABLE,
    HI_OTP_SMCU_KEYVERSION_REF,
    HI_OTP_SMCU_SECVERSION_REF,
    HI_OTP_SMK_EXT_KEY,
    HI_OTP_SOC_FUSE15_12,
    HI_OTP_SOC_FUSE20_16,
    HI_OTP_SOC_FUSE24,
    HI_OTP_SOC_FUSE26_25,
    HI_OTP_SOC_FUSE3,
    HI_OTP_SOC_FUSE32,
    HI_OTP_SOC_FUSE33,
    HI_OTP_SOC_FUSE35,
    HI_OTP_SOC_FUSE36,
    HI_OTP_SOC_FUSE37,
    HI_OTP_SOC_FUSE41,
    HI_OTP_SOC_FUSE42,
    HI_OTP_SOC_FUSE43,
    HI_OTP_SOC_FUSE44,
    HI_OTP_SOC_FUSE45,
    HI_OTP_SOC_FUSE46,
    HI_OTP_SOC_FUSE47,
    HI_OTP_SOC_FUSE48,
    HI_OTP_SOC_FUSE49,
    HI_OTP_SOC_FUSE51,
    HI_OTP_SOC_FUSE52,
    HI_OTP_SOC_FUSE64,
    HI_OTP_SOC_FUSE65,
    HI_OTP_SOC_FUSE7,
    HI_OTP_SOC_FUSE72,
    HI_OTP_SOC_FUSE73,
    HI_OTP_SOC_FUSE74,
    HI_OTP_SOC_FUSE75,
    HI_OTP_SOC_FUSE76,
    HI_OTP_SOC_FUSE77,
    HI_OTP_SOC_FUSE78,
    HI_OTP_SOC_FUSE8,
    HI_OTP_SOC_TEE_ENABLE,
    HI_OTP_SOC_TZ_ENABLE,
    HI_OTP_SOC_UID,
    HI_OTP_SOFT_NXG_DISABLE,
    HI_OTP_SOFT_NXG_ENABLE,
    HI_OTP_SOFT_RSA_FLAG,
    HI_OTP_SOFT_VDEC_AVS_DISABLE,
    HI_OTP_SOFT_VDEC_H264_DISABLE,
    HI_OTP_SOFT_VDEC_H265_10BIT_DISABLE,
    HI_OTP_SOFT_VDEC_H265_DISABLE,
    HI_OTP_SOFT_VDEC_MP4_DISABLE,
    HI_OTP_SOFT_VDEC_MPEG2_DISABLE,
    HI_OTP_SOFT_VDEC_VC1_DISABLE,
    HI_OTP_SOFT_VDEC_VP6_DISABLE,
    HI_OTP_SOFT_VDEC_VP8_DISABLE,
    HI_OTP_SOFT_VDEC_VP9_10BIT_DISABLE,
    HI_OTP_SOFT_VDEC_VP9_DISABLE,
    HI_OTP_SOS_MSID,
    HI_OTP_SOS_SECVERSION_REF,
    HI_OTP_STB_PRIVATE_DATA,
    HI_OTP_STB_ROOTKEY,
    HI_OTP_STB_SCS_DBG_DISABLE,
    HI_OTP_STB_SN,
    HI_OTP_STB_TA_KL_DISABLE,
    HI_OTP_STB_TA_ROOTKEY,
    HI_OTP_STB_VERSION_REF,
    HI_OTP_STB_WORD,
    HI_OTP_SW_KL_DISABLE,
    HI_OTP_SW_ROOTKEY,
    HI_OTP_TA1_CERT_SECVERSION_REF,
    HI_OTP_TA1_SECVERSION_REF,
    HI_OTP_TA1_SMID,
    HI_OTP_TA2_CERT_SECVERSION_REF,
    HI_OTP_TA2_SECVERSION_REF,
    HI_OTP_TA2_SMID,
    HI_OTP_TA3_CERT_SECVERSION_REF,
    HI_OTP_TA3_SECVERSION_REF,
    HI_OTP_TA3_SMID,
    HI_OTP_TA4_CERT_SECVERSION_REF,
    HI_OTP_TA4_SECVERSION_REF,
    HI_OTP_TA4_SMID,
    HI_OTP_TA5_CERT_SECVERSION_REF,
    HI_OTP_TA5_SECVERSION_REF,
    HI_OTP_TA5_SMID,
    HI_OTP_TA6_CERT_SECVERSION_REF,
    HI_OTP_TA6_SECVERSION_REF,
    HI_OTP_TA6_SMID,
    HI_OTP_TEE_JTAG_KEY,
    HI_OTP_TEE_JTAG_MODE,
    HI_OTP_TEST_SWITCH_FLAG,
    HI_OTP_TRIM0,
    HI_OTP_TRIM1,
    HI_OTP_TRNG_CFG_SEL,
    HI_OTP_TRNG_PARAMETER,
    HI_OTP_TRUSTZONE_DATA_SPACE_LOCKER,
    HI_OTP_TRUSTZONE_LOCKABLE_SPACE_LOCKER,
    HI_OTP_TS_ASA_DISABLE,
    HI_OTP_TS_CIPLUS_HARDONLY_EN,
    HI_OTP_TS_CSA2_DISABLE,
    HI_OTP_TS_CSA2_HARDONLY_EN,
    HI_OTP_TS_CSA3_DISABLE,
    HI_OTP_TS_CSA3_HARDONLY_EN,
    HI_OTP_TS_NV_DISABLE,
    HI_OTP_TS_OUT_DISABE,
    HI_OTP_TS_OUT_DISABLE,
    HI_OTP_TS_SM4_DISABLE,
    HI_OTP_TS_SPC_EN,
    HI_OTP_TS_SP_DISABLE,
    HI_OTP_TS_SP_HARDONLY_EN,
    HI_OTP_TS_SP_HARDONLY_EN_2,
    HI_OTP_TS_TDES_DISABLE,
    HI_OTP_UART_SELF_BOOT_DISABLE,
    HI_OTP_USB_SELF_BOOT_DISABLE,
    HI_OTP_VERSIONDATA,
    HI_OTP_VMX_BL_FUSE,
    HI_OTP_VSC_DEC_KEY,
    HI_OTP_WAKEUP_DDR_CHECK_EN,
    HI_OTP_WIDEVINE_KL_DISABLE,
    HI_OTP_DATA_BUTT
}HI_OTP_DATA_E;


#define FIELD_NAME_ENC_NUM (12)
typedef struct{
    HI_OTP_DATA_E field_id;
    unsigned int name_enc_info[FIELD_NAME_ENC_NUM];
} otp_field_node;

#endif
